<template>
	<view class="box">
		<view class="good">
			<view class="top">
				<view class="text">警告原因：xxx温度过高</view>
				<view class='kun'>一级警告</view>
			</view>
			<view class="bot">设备：1车间201设备</view>
			<view class="bot">所属产品：A型产品</view>
		</view>
		<view class="good">
			<view class="top">
				<view class="text">警告原因：xxx温度过高</view>
				<view class='kun'>一级警告</view>
			</view>
			<view class="bot">设备：1车间201设备</view>
			<view class="bot">所属产品：A型产品</view>
		</view>
		<view class="good">
			<view class="top">
				<view class="text">警告原因：xxx温度过高</view>
				<view class='kun'>一级警告</view>
			</view>
			<view class="bot">设备：1车间201设备</view>
			<view class="bot">所属产品：A型产品</view>
		</view>
		<view class="good">
			<view class="top">
				<view class="text">警告原因：xxx温度过高</view>
				<view class='kun'>一级警告</view>
			</view>
			<view class="bot">设备：1车间201设备</view>
			<view class="bot">所属产品：A型产品</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang='scss' scoped>
.box {
		background-color: #f8f8f8;
		min-height: 100vh;
		padding-top: 20rpx;
	}

	.good {
		background-color: #fff;
		border-radius: 30rpx;
		margin: 30rpx;
		margin-top: 0;
		.text{
			font-weight: bold;
		}
		.top {
			display: flex;
			justify-content: space-between;
			padding: 30rpx 50rpx 10rpx 30rpx;

			.kun {
				background-color: #ff2326;
				width: 150rpx;
				height: 50rpx;
				text-align: center;
				line-height: 50rpx;
				border-radius: 25rpx;
				color: #fff;
			}
		}

		.bot {
			padding: 10rpx 30rpx;
		}
	}
</style>
